package MsgPackage;

/**
 * @author Omri Barda 039725890
 * @author Amit Joseph 034608547
 * @author Gilad Shpigel 300162393
 * @author Elad Elbaz 040539959
 * @version June 2012
 */

public class GetQuestionNumberPack extends MessagePack {
	private static final long serialVersionUID = 1L;
	private Integer subjectNum;
	private Integer newQuestionNum;

	/**
	 * constructor
	 * 
	 * @param cNum
	 */
	public GetQuestionNumberPack(Integer cNum) {
		this.op = OpType.GetQuestionNumber;
		this.setSubjectNum(cNum);
	}

	/**
	 * @return the courseNum
	 */
	public Integer getSubjectNum() {
		return subjectNum;
	}

	/**
	 * @param courseNum
	 *            the courseNum to set
	 */
	public void setSubjectNum(Integer courseNum) {
		this.subjectNum = courseNum;
	}

	/**
	 * @return the newQuestionNum
	 */
	public Integer getNewQuestionNum() {
		return newQuestionNum;
	}

	/**
	 * @param newQuestionNum
	 *            the newQuestionNum to set
	 */
	public void setNewQuestionNum(Integer newQuestionNum) {
		this.newQuestionNum = newQuestionNum;
	}

}
